/**
 * @Title: CPUInfo.java
 * @Package: com.itic.appbase.applications.monitor.vo
 * @author: idong
 * @date: May 25, 2015 10:35:52 AM
 * @version: V1.0
 */

package com.itic.appbase.applications.monitor.vo;

/**
 * <p>
 * Company: itic
 * </p>
 * 
 * @author: idong
 * @date: May 25, 2015 10:35:52 AM
 * @version: V1.0
 */
public class CPUInfo {
    private String total;
    private String userUsed;
    private String sysUsed;
    private String niceUsed;
    private String free;

    /**
     * @Title: CPUInfo
     * @param
     * @throws
     */

    public CPUInfo() {
        super();
    }

    /**
     * @Title: CPUInfo
     * @param total
     * @param userUsed
     * @param sysUsed
     * @param niceUsed
     * @param free
     * @throws
     */

    public CPUInfo(String def) {
        super();
        this.total = def;
        this.userUsed = def;
        this.sysUsed = def;
        this.niceUsed = def;
        this.free = def;
    }

    /**
     * @return the total
     */
    public String getTotal() {
        return total;
    }

    /**
     * @param total
     *            the total to set
     */
    public void setTotal(String total) {
        this.total = total;
    }

    /**
     * @return the userUsed
     */
    public String getUserUsed() {
        return userUsed;
    }

    /**
     * @param userUsed
     *            the userUsed to set
     */
    public void setUserUsed(String userUsed) {
        this.userUsed = userUsed;
    }

    /**
     * @return the sysUsed
     */
    public String getSysUsed() {
        return sysUsed;
    }

    /**
     * @param sysUsed
     *            the sysUsed to set
     */
    public void setSysUsed(String sysUsed) {
        this.sysUsed = sysUsed;
    }

    /**
     * @return the niceUsed
     */
    public String getNiceUsed() {
        return niceUsed;
    }

    /**
     * @param niceUsed
     *            the niceUsed to set
     */
    public void setNiceUsed(String niceUsed) {
        this.niceUsed = niceUsed;
    }

    /**
     * @return the free
     */
    public String getFree() {
        return free;
    }

    /**
     * @param free
     *            the free to set
     */
    public void setFree(String free) {
        this.free = free;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "CPUInfo [total=" + total + ", userUsed=" + userUsed + ", sysUsed=" + sysUsed + ", niceUsed=" + niceUsed
                + ", free=" + free + "]";
    }

}
